// MCFCollection_BPA.cpp: implementation of the CMCFCollection_BPA class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "../../Include/Swi/MCFCollection_BPA.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CMCFCollection_BPA::CMCFCollection_BPA()
{

}

CMCFCollection_BPA::~CMCFCollection_BPA()
{

}

CMCF_BPA* CMCFCollection_BPA::GetFirstMCF()
{
	return (CMCF_BPA*)CCardCollection_BPA::GetFirstCard();
}

CMCF_BPA* CMCFCollection_BPA::Traverse(CMCF_BPA *pMCF, int nDirection)
{
	return (CMCF_BPA*)CCardCollection_BPA::Traverse(pMCF,nDirection);
}

CMCF_BPA* CMCFCollection_BPA::GetMCF(char *strBusName, double dkV, char nID)
{
	CMCF_BPA tempMCF;
	strcpy(tempMCF.m_strName,strBusName);
	tempMCF.m_dkV = dkV;
	tempMCF.m_chID = nID;
	return (CMCF_BPA*)CCardCollection_BPA::GetCard(&tempMCF);
}
